
package com.yimixian.app.mvp.presenter;

import com.yimixian.app.activity.YMXMainActivity;
import com.yimixian.app.mvp.view.UnloginMvpView;
import com.ymx.sdk.mvp.BasePresenter;

public class UnloginPresenter extends BasePresenter<UnloginMvpView> {
    @Override
    public void attachView(UnloginMvpView mvpView) {
        super.attachView(mvpView);
    }

    @Override
    public void detachView() {
        super.detachView();
    }

    public void showData(int tab) {
        checkViewAttached();
        if (tab == YMXMainActivity.TAB_ORDER) {
            getMvpView().showUnlogin();
        }
    }
}
